/*
 * OrderDetailStatusHolder.java
 * business
 *
 * Created by SunDing on 2016/9/9.
 *
 * Copyright (c) 2016年 yidiandao. All rights reserved.
 */

package com.yidiandao.business.ui.widget.listview.viewholder;

import android.view.View;
import android.widget.LinearLayout;
import android.widget.TextView;

import com.yidiandao.business.R;
import com.yidiandao.business.ui.widget.listview.ViewHolder;

/**
 * 订单详情 支付方式 发票
 */
public class OrderDetailMessageHolder extends ViewHolder {
    public TextView mTvPayWay;
    public TextView mUserName;
    public TextView mCopyBankName;
    public TextView mTvBankNum;
    public TextView mCopyBankNum;
    public TextView mTvBankName;
    public LinearLayout mLlBankCon;
    public TextView mTvBankConName;
    public TextView mTvIdentifyCode;
    public TextView mCopyIdentifyCode;
    public TextView mTvLogisticsWay;
    public TextView mTvInvoice;
    public TextView mTvPhone;
    public TextView mTvMessage;
    public LinearLayout mLlUserName;
    public LinearLayout mLlBankNum;
    public LinearLayout mLlBakName;
    public LinearLayout mLlIdentifyCode;

    @Override
    protected void initView(View rootView) {
        mLlUserName = (LinearLayout) rootView.findViewById(R.id.ll_user_name);
        mLlBankNum = (LinearLayout) rootView.findViewById(R.id.ll_bank_num);
        mLlBakName = (LinearLayout) rootView.findViewById(R.id.ll_bak_name);
        mLlIdentifyCode = (LinearLayout) rootView.findViewById(R.id.ll_identify_code);
        mTvPayWay = (TextView) rootView.findViewById(R.id.tv_pay_way);
        mUserName = (TextView) rootView.findViewById(R.id.user_name);
        mCopyBankName = (TextView) rootView.findViewById(R.id.copy_bank_name);
        mTvBankNum = (TextView) rootView.findViewById(R.id.tv_bank_num);
        mCopyBankNum = (TextView) rootView.findViewById(R.id.copy_bank_num);
        mTvBankName = (TextView) rootView.findViewById(R.id.tv_bank_name);
        mLlBankCon = (LinearLayout) rootView.findViewById(R.id.ll_bank_con);
        mTvBankConName = (TextView) rootView.findViewById(R.id.tv_bank_con_name);
        mTvIdentifyCode = (TextView) rootView.findViewById(R.id.tv_identify_code);
        mCopyIdentifyCode = (TextView) rootView.findViewById(R.id.copy_identify_code);
        mTvLogisticsWay = (TextView) rootView.findViewById(R.id.tv_logistics_way);
        mTvInvoice = (TextView) rootView.findViewById(R.id.tv_invoice);
        mTvPhone = (TextView) rootView.findViewById(R.id.tv_phone);
        mTvMessage = (TextView) rootView.findViewById(R.id.tv_message);

    }

    @Override
    protected int getItemLayoutId() {
        return R.layout.item_order_detail_message;
    }
}
